#include "Logger.hpp"
int main()
{
    // EnableConsoleLogStrategy();
    EnableFileLogStrategy();

    // RAII风格的日志构建和输出刷新的过程
    LOG(LogLevel::ERROR) << "hello world" << ", 3.14 " << 123;
    LOG(LogLevel::WARNING) << "hello world" << ", 3.14 " << 123;
    LOG(LogLevel::DEBUG) << "hello world" << ", 3.14 " << 123;
    LOG(LogLevel::FATAL) << "hello world" << ", 3.14 " << 123;
    LOG(LogLevel::INFO) << "hello world" << ", 3.14 " << 123;

    return 0;
}